Total Complexity | 82 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 410 |
Lines of code | 238 |
Logical lines of code | 173 |
Comment lines | 47 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
validate_cart_data() | 46 | 15 | 35 | |
adjust_cart_item_pricing() | 51 | 12 | 23 | |
display_field_groups() | 43 | 9 | 47 | |
add_fields_to_cart_item() | 51 | 10 | 24 | |
display_fields_on_cart_and_checkout() | 56 | 10 | 17 | |
order_again_cart_item_data() | 53 | 6 | 20 | |
create_order_line_item() | 55 | 5 | 22 | |
to_cart_fields() | 56 | 4 | 17 | |
change_add_to_cart_text() | 64 | 4 | 9 | |
set_add_to_cart_url() | 69 | 3 | 7 | |
check_product_support() | 72 | 3 | 5 | |
__construct() | 60 | 1 | 12 |